package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 城市对象 sys_city
 * 
 * @author jjp
 * @date 2020-04-09
 */
public class SysCity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long cityId;

    /** $column.columnComment */
    private String cityName;

    /** $column.columnComment */
    private Long parentCityId;

    /** $column.columnComment */
    private Long level;

    /** （0正常 1停用） */
    private String status;

    private Long typeId ;

    private String typeName;

    private List<SysCity> children = new ArrayList<SysCity>();

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public void setCityId(Long cityId)
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setParentCityId(Long parentCityId) 
    {
        this.parentCityId = parentCityId;
    }

    public Long getParentCityId() 
    {
        return parentCityId;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public List<SysCity> getChildren() {
        return children;
    }

    public void setChildren(List<SysCity> children) {
        this.children = children;
    }
}
